﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ChangePassword.ascx.cs" Inherits="Admin_Components_Permission_ChangePassword" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<telerik:RadScriptManager ID="ScriptManager2" runat="server" EnableTheming="True">
</telerik:RadScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <telerik:RadTabStrip ID="TabStrip1" runat="server" EnableDragToReorder="true" Skin="Vista" MultiPageID="RadMultiPag1" SelectedIndex="1">
            <Tabs>
                <telerik:RadTab Text="ĐỔI MẬT KHẨU" Selected="True">
                </telerik:RadTab>
                
            </Tabs>
        </telerik:RadTabStrip>
         <telerik:RadMultiPage ID="RadMultiPag1" runat="server" SelectedIndex="0">
             <telerik:RadPageView ID="RadPageView1" runat="server" Height="150px" Style="overflow: hidden">
                 <fieldset class="form" id="fsGeneral">
                  <br />
                <div class="form-horizontal wrapper-center clearfix">
                     <div class="form-group">
                        <label class="col-md-2 control-label">
                            UserName <span style="color:red;"></label>
                        <div class="col-md-2">
                            <telerik:RadTextBox ID="txtUserName" CssClass="col-imp-12 inputForm" runat="server" Enabled ="false" />
                        </div>
                        
                        <label class="col-md-1 control-label">
                            Password <span style="color:red;">(*)</span></label>
                        <div class="col-md-2">
                             <telerik:RadTextBox ID="txtPassword" CssClass="col-imp-12 inputForm" runat="server"  TextMode="Password"/>
                             <asp:RequiredFieldValidator  ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtPassword" ValidationGroup="g1"
                           ErrorMessage="" ></asp:RequiredFieldValidator>
                        </div>
                        <label class="col-md-2 control-label star">Confirm Password </label>
                        <div class="col-md-3">
                             <telerik:RadTextBox ID="txtConfirmPassword" CssClass="col-imp-8 inputForm" runat="server"  TextMode="Password"/>
                             <asp:RequiredFieldValidator  ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtConfirmPassword" ValidationGroup="g1"
                           ErrorMessage="Bắt buộc" ></asp:RequiredFieldValidator>
                        </div>

                    </div>
                 </div>
                     <!--Action-->
                    <div class="set-btns text-center">
                        <asp:Button ID="btnSave" CssClass="btn btn-sm btn-primary" runat="server" Text="Đồng ý" OnClick="btnSave_Click" ValidationGroup="g1" OnClientClick="fnOnUpdateValidators('g1');"/>
                    </div>
                </fieldset>
            </telerik:RadPageView>
        </telerik:RadMultiPage>
        </ContentTemplate>
</asp:UpdatePanel>

<div class="progressbar">
    <asp:UpdateProgress ID="up" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
        <ProgressTemplate>
            <div class="bg">
                <div class="progress progress-striped active">
                    <div class="progress-bar" role="progressbar" aria-valuenow="45" aria-valuemin="0"
                        aria-valuemax="100" style="width: 100%">
                        <span class="sr-only">100% Complete</span>
                    </div>
                </div>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
</div>
